package com.yh.tea.mapper;

import com.yh.tea.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yh
 * @since 2024-02-15
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

//    @Select("select role_permission.id,role_id,permission_name,parent_id,url \n" +
//            "from  permission inner join  role_permission  \n" +
//            "on permission.id=role_permission.permission_id\n" +
//            "WHERE role_id=#{role_id,jdbcType=BIGINT} and parent_id=#{parent_id,jdbcType=BIGINT}")
//    List<Menu> getMenu(@Param("parent_id")Long parentID, @Param("role_id") Long roleID);
}
